package com.authine.cloudpivot.app.openapi.constants;

/**
 * @author lifuchun
 */
public final class RedisKeyConstant {
    /**
     * USER_LOGIN_CORP+userBaseId
     */
    public static final String USER_LOGIN_CORP = "user:login:corp:";
    /**
     * LOGIN_USER_ID+userBaseId
     */
    public static final String LOGIN_USER_ID = "user:login:userid:";

    public static final String USER_ID = "userId";
    public static final String BASE_USER_ID = "baseUserId";
    public static final String CORP_ID = "corpId";


    public static final String KEY_OPENAPI_TOKEN = "openapitoken:%s";
    public static final String MAP_KEY_USER_INFO_VALUE = "userInfoValue";
    public static final String KEY_USER_ID_APP_KEY = "userIdAppKey:%s:%s";
    public static final String MAP_KEY_APP_CONFIG_VALUE = "appConfigValue";
    public static final String KEY_APP_CONFIG_VALUE = "appConfigValue:%s";
    public static final String KEY_USER_INFO_VALUE = "userInfoValue:%s:%s";
}